package cn.topevery.garden.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 检查任务-样点关联表 视图
 */
@Data
@ApiModel(value = "TaskPoint 视图", description = "检查任务-样点关联表 视图")
public class TaskPointVO implements Serializable {
    /**
     * 自增id
     */
    private Integer id;

    /**
     * 检查任务ID
     */
    @ApiModelProperty(value = "检查任务ID")
    @Excel(name = "检查任务ID", orderNum = "0")
    private Integer taskId;

    /**
     * 样点ID
     */
    @ApiModelProperty(value = "样点ID")
    @Excel(name = "样点ID", orderNum = "0")
    private Integer pointId;

    /**
     * 标段编号
     */
    @ApiModelProperty(value = "标段编号")
    @Excel(name = "标段编号", orderNum = "0")
    private String pointNum;

    /**
     * 标段名字
     */
    @ApiModelProperty(value = "标段名字")
    @Excel(name = "标段名字", orderNum = "0")
    private String sectionName;

    /**
     * 标段ID
     */
    @ApiModelProperty(value = "标段ID")
    @Excel(name = "标段ID", orderNum = "0")
    private Integer sectionId;

    /**
     * 企业ID
     */
    @ApiModelProperty(value = "企业ID")
    @Excel(name = "企业ID", orderNum = "0")
    private Integer companyId;

    /**
     * 企业名字
     */
    @ApiModelProperty(value = "企业名字")
    @Excel(name = "企业名字", orderNum = "0")
    private String companyName;

    /**
     * 样点扣分
     */
    @ApiModelProperty(value = "样点扣分")
    @Excel(name = "样点扣分", orderNum = "0")
    private Integer lostScore;

    /**
     * 检查时间
     */
    @ApiModelProperty(value = "检查时间")
    @Excel(name = "检查时间", orderNum = "0")
    @JSONField(format = "yyyy-MM-dd")
    private LocalDateTime checkTime;

    @ApiModelProperty(value = "扣分详情")
    @Excel(name = "扣分详情", orderNum = "0")
    private String lostScoreContent;
}
